<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<{include file='backend/lib/meta.html'}>
<link rel="stylesheet" type="text/css" href="public/theme/backend/css/verydows.css" />
<link rel="stylesheet" type="text/css" href="public/theme/backend/css/main.css" />
<script type="text/javascript" src="public/script/jquery.js"></script>
<script type="text/javascript" src="public/theme/backend/js/verydows.js"></script>
<script type="text/javascript" src="public/theme/backend/js/list.js"></script>
</head>
<body>
<div class="content">
  <div class="loc"><h2><i class="icon"></i>邮件队列</h2></div>
  <div class="box">
    <div class="doacts">
      <a class="ae btn" onclick="domulent('<{url m=$MOD c='email_queue' a='delete'}>')"><i class="send"></i><font>发送邮件</font></a>
      <a class="ae btn" onclick="domulent('<{url m=$MOD c='email_queue' a='delete'}>')"><i class="remove"></i><font>删除</font></a>
    </div>
    <{if !empty($results)}>
    <div class="module mt5">
      <form method="post" id="mulentform">
        <table class="datalist">
          <tr>
            <th width="50" colspan="2">编号</th>
            <th width="200" class="ta-l">邮箱地址</th>
            <th width="200">所用模板</th>
            <th>上次错误</th>
            <th width="100">错误次数</th>
            <th width="110">发送时间</th>
          </tr>
          <{foreach $results as $v}>
          <tr>
            <td width="20"><input name="id[]" type="checkbox" value="<{$v.id}>" /></td>
            <td width="30"><{$v.id}></td>
            <td class="ta-l"><{$v.email}></td>
            <td><{$v.tpl_id}></td>
            <td><p class="ta-l c888"><{$v.last_err}></p></td>
            <td><{$v.err_count}></td>
            <td class="c666"><{date('Y-m-d H:i:s', $v.dateline)}></td>
          </tr>
          <{/foreach}>
        </table>
      </form>
    </div>
    <{if !empty($paging)}>
    <div class="libom mt5"><{html_paging paging=$paging m=$MOD c='email_tpl' a='index' class='paging'}></div>
    <{/if}>
    <{else}>
    <div class="nors mt5">未找到匹配的数据记录...</div>
    <{/if}>
  </div>
</div>
</body>
</html>